package com.downhometech.productcalculator.activities;

import com.downhometech.productcalculator.models.Cart;
import android.app.Application;


public class ProductCalculator extends Application
{
	private Cart productCart = new Cart();
	private boolean initted = false;
	
	
	public boolean isInitted() {
		return initted;
	}

	public void setInitted(boolean initted) {
		this.initted = initted;
	}

	public ProductCalculator() {
		//productCart = new Cart(this);
	}
	
	public Cart getProductCart() {
		return productCart;
	}
	
	public void resetProductCart() {
		productCart = null;
		this.initted = true;
		productCart = new Cart(this);
	}

	public void setProductCart(Cart productCart) {
		this.productCart = productCart;
	}
	

	
}
